package com.lesso.lpq.sunflower.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * RabbitMQListener
 *
 * @author zqz
 * @since 2025-07-07
 */
@Slf4j
@Component
public class RabbitMQListener {
    @RabbitListener(queues = RabbitMQConfig.SUNFLOWER_QUEUE)
    public void process(String content) {
        log.info("rabbitmq msg is: {}", content);
    }
}